Skip to content

docs: DEV_PIPELINE state machine + UI surface map - #3398

Merged
Birfy merged 10 commits into
mainfrom
dev/3393-pipeline-doc
Nov 27, 2026
Merged

Birfy merged 10 commits into
mainfrom
dev/3393-pipeline-doc

Conversation

@Birfy

@Birfy Birfy commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Related #3393

Documentation slice: the state machine the team runs, its templates, and the UI surface map it refers to. Docs only — no workflow, script or product file is touched.

Files (all new, all under docs/):

  • DEV_PIPELINE.md — eight steps: triage → slice → claim → dev → QA exact-head evidence → review → risk confirmation → merge only on required green. Plus the directory → member table and four templates.
  • qa-evidence-template.md — the exact-head evidence template, written by QA Engineer.
  • UI_SURFACES.md + UI_SURFACES_MAP.md + UI_SURFACES_DISPATCH.md + UI_SURFACES_OPS.md — which side owns a UI change, the page → feature map, what to run per change, and the couplings that make "I only touched the plugin" false. Written by UI Dev, landed after review.
  • ui-surfaces-map.mjs — generator behind the map section; node docs/ui-surfaces-map.mjs prints 15 features; 26 dirs.

Why the UI page is four files: the GitHub write path in this environment rejects larger payloads intermittently (composio_key_rejected, not retried by the tool). Splitting was the only way to land the text; it is a transport artifact, not an editorial choice. The files are cross-linked so they read in order.

Local, at head 84dbc54:

  • node docs/ui-surfaces-map.mjs → rc=0, 15 features; 26 dirs.
  • Every relative link in the added docs resolves to a file in the same commit.
  • No auto-close keyword appears in this branch's commits or in this body.

CI: not claimed here. This body carries no run result; checks for this exact head must be read off their own run and reported separately.

Every machine-enforced claim in DEV_PIPELINE.md §0 was read off tests.yml, risk-tier.yml, silent-revert.yml and audit-merges.yml at 34a80ca5a1. Where a rule is only a convention (claim labels, T3 human approval), the doc says so rather than implying the machine checks it.

Birfy and others added 9 commits November 26, 2026 16:40
Related #3393

States what the machine actually enforces today (only `FlyBot required
checks`; risk-tier / silent-revert / audit-merges are report-only and
not required), the eight-step state machine, directory dispatch, and the
four templates.

Co-authored-by: FlyBot Lead <lead@flybot.local>
Related #3393

Five sections, all filled by QA: the binding block (ls-remote + codeload +
write-tree equals commit.tree.sha), local results, CI results as of a UTC
instant, what was not covered, and a fixed "this is not acceptance" section.

Co-authored-by: QA Engineer <qa@flybot.local>
Related #3393

`node docs/ui-surfaces-map.mjs` prints the map so the page can be checked
instead of trusted. Run from the repository root on 34a80ca: `15
features; 26 dirs`, same rows as the ones the page lists.

Co-authored-by: UI Dev <ui@flybot.local>
Related #3393

Part 2 of UI_SURFACES.md: the cross-side couplings that make "I only touched
the plugin" false, screenshot duty, and the measured split between what is
green locally and what is judged on CI.

Co-authored-by: UI Dev <ui@flybot.local>
Related #3393

Which side owns a UI change, measured on 34a80ca. Written by UI Dev, landed
after review. The map and the dispatch table follow in UI_SURFACES_MAP.md
because the write API refuses a single larger payload.

Co-authored-by: UI Dev <ui@flybot.local>
Related #3393

The map half of the UI surfaces page: static dir → owning feature(s), plus the
generator command that prints it. Measured on 34a80ca.

Co-authored-by: UI Dev <ui@flybot.local>
Related #3393

Per changed path: the local command and the CI check that judges it. Measured
on 34a80ca.

Co-authored-by: UI Dev <ui@flybot.local>
Related #3393

The map and the dispatch table now live in their own files, so part 2's opening
line has to name them instead of pointing back at UI_SURFACES.md.

Co-authored-by: UI Dev <ui@flybot.local>
Related #3393

The change → what to run table moved to its own file, so the index at the top
of the boundary page has to list it.

Co-authored-by: UI Dev <ui@flybot.local>
@Birfy

Birfy commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

QA 证据(exact head)

Head 84dbc54e25b9aafb21c36bcd617b944157c1eaaf · 分支 dev/3393-pipeline-doc · PR #3398 · base main 34a80ca5a1acf9d7da821664002fa1e9dba2b215
出证时间 2026-11-26T09:06:40Z · 状态:本地 通过 | CI 全绿(截至同一时刻)
本证据只对上面这个 40 位 head 有效。分支再推任何提交,本证据立即作废,需按新 head 重出。

由 QA Engineer 出证,FlyBot Lead 代发(本机无写权限,唯一写通道是 Lead)。

1. 绑定:测的字节就是这个 head

$ curl -s https://api.github.com/repos/ThinkFlowLab/FlyBot/pulls/3398 | jq -r .head.sha
84dbc54e25b9aafb21c36bcd617b944157c1eaaf
$ curl -sSLo head.tar.gz https://codeload.github.com/ThinkFlowLab/FlyBot/tar.gz/refs/pull/3398/head
$ mkdir head && tar xzf head.tar.gz -C head --strip-components=1 && cd head
$ git init -q . && git add -A -f . && git write-tree
c915de00f7c9716bd7d06f279c0d713e8cf62ccd

c915de00… 等于 /commits/84dbc54e… 的 commit.tree.sha → 整棵树一致,不是抽样;git ls-remote 到 github.com:443 本机超时(exit 124),所以首行 SHA 取自 REST,同一性由 write-tree 保证,不依赖 ls-remote。

改动面:7 文件 +251 / −0,全部在 docs/ 下(DEV_PIPELINE.md、UI_SURFACES.md、UI_SURFACES_MAP.md、UI_SURFACES_DISPATCH.md、UI_SURFACES_OPS.md、qa-evidence-template.md、ui-surfaces-map.mjs);tests.yml 在 diff 里 0 项,sha256 6f60af36…7fe2a9 与 main 相同;vendor 0 文件。

2. 本地结果(数字来自本机,不是 CI)

命令 结果
node docs/ui-surfaces-map.mjs rc=0,首行 15 features; 26 dirs,后接 26 行 页面 → 功能
内联 node 链接检查(6 个新文档里的相对链接 → 同树内是否存在) links checked 11 broken 0
sha256sum docs/qa-evidence-template.md f44940333159f07c5510a1540073a547fef60c57098e391517acf88328e7f3bf0
收尾关键词扫描(9 条提交信息 + PR 正文,(fixes|closes|resolves) #N) 0 命中

链接检查的 6 个文件:UI_SURFACES.md、UI_SURFACES_MAP.md、UI_SURFACES_DISPATCH.md、UI_SURFACES_OPS.md、DEV_PIPELINE.md、qa-evidence-template.md(外链跳过,只验仓库内路径)。

3. CI 结果(拉的是 /commits/84dbc54e…/check-runs)

合计 16 个 check:16 success / 0 未跑完 / 0 不存在。其中:

check 结论 run
FlyBot required checks completed success https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139801939077
upstream / Upstream suite · Node 22 · DSH from pin completed success https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139799760408
upstream / Upstream suite · Node 24 · DSH from pin completed success https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139799760354
provenance / bot-social-source-tests completed success https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139799638695
runtime-image / Build and smoke under the manager contract completed success https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139799638421

中途读数留档:09:04:49Z 时是 14 success / 1 in_progress(provenance / bot-social-source-tests)、FlyBot required checks 尚未出现;09:06:40Z 才 16/16 并出现汇总门。两句话不能混成一句「一直绿」。

4. 没做到 / 没覆盖到的

  • 这是文档切片,没有可跑的单测:本地只验了 map 生成器能跑、相对链接的目标文件存在;锚点(#…)与「链接文字是否仍然描述正确」没验,那属于评审。
  • 链接检查只证明目标文件在同一 commit 内存在,不证明内容没被写旧。
  • 收尾关键词只按 Fixes/Closes/Resolves + #N 形式扫;正文里出现过一次英文 resolves(「Every relative link … resolves to a file」),是散文,不是关单形式。

5. 本证据不构成验收通过

这是「这个 head 上发生了什么」,不是「这个 PR 可以合并」:没有做产品验收,没有做 T3 人工批准,没有声明与 0.3.0 parity。是否合并、是否验收由 Lead 判。合并后若 rebase 或补提交,本证据作废。

Related #3393

@Birfy

Birfy commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

Lead 评审(exact head)

Head 84dbc54e25b9aafb21c36bcd617b944157c1eaaf · 评审时间 2026-11-26T09:09Z · 结论:可合(合并动作不在我手上,等人工点 Merge)。本评审不构成验收通过,不声称 parity。

四项硬规则逐条核:

  1. 单一切片 — 7 个文件全在 docs/ 下,+251 / −0;0 个 workflow、0 个脚本运行件、0 个产品文件。tests.yml 在 diff 里 0 项(QA 核到 sha256 6f60af36… 与 main 34a80ca5a1 相同),vendor 树 0 文件。切片边界是「流水线文档 + UI 面边界」,没有夹带。
  2. 绑定 exact head — 评审读的就是树 c915de00f7c9716bd7d06f279c0d713e8cf62ccd,等于 /commits/84dbc54e… 的 commit.tree.sha(QA 用 codeload tarball + git write-tree 核过整棵树,非抽样)。分支 dev/3393-pipeline-doc 当前 head 就是这个值;再推任何提交,本评审作废。
  3. 关联方式 — 9 条提交信息与 PR 正文只有 Related #3393,无自动关单关键词。文档正文里出现 Fixes / Closes / Resolves 三处是引用规范本身的句子(docs/DEV_PIPELINE.md:36 的评审清单、:89 的模板占位),不是关单形式。
  4. 本地绿与 CI 绿分开报 — 本地(我复核 QA 的数字):node docs/ui-surfaces-map.mjs rc=0、首行 15 features; 26 dirs、后接 26 行映射;6 个新文档 11 条相对链接 0 断。CI(/commits/84dbc54e…/check-runs):16/16 success,含汇总门 FlyBot required checks,读数时刻 09:06:40Z。中途 09:04:49Z 是 14 success / 1 in_progress、汇总门尚未出现——那不算绿,两次读数分别成立,不合并成一句「一直绿」。

风险:脚本 risk-gate --pr 3398 输出 T0(7 文件 / 251 行,逐条命中 docs/** 与 **/*.md 的 T0 规则,无一条落 T1–T3),我按脚本输出打 risk:T0 标签,未手打改档。附一条不影响的已知形状问题:docs/ui-surfaces-map.mjs 是可执行脚本却按路径落在 T0,T3 的 diffPatterns 确实被检查过、只是没命中——这条留第 5 阶段处理。

内容取舍(我审过并接受):UI 边界页由一页拆成四页,原因是写接口对大载荷间歇性 composio_key_rejected(2921 B 被拒、1850 B 通过、1000 B 又被拒,无稳定阈值),属传输限制而非编辑决定;四页交叉链接、按顺序可读,且我逐页核过引用目标在同一 commit 内存在且指向正确(包括把 UI_SURFACES_OPS.md 开头的指向从「回看 UI_SURFACES.md」改成指向 _MAP / _DISPATCH 的那次修正)。

未做:没有点 Merge(本机没有合并动作);没有做产品验收;没有核 T3(不适用)。

Related #3393

@Birfy Birfy added the risk:T0 Risk tier T0 (docs only), set by the controller from the diff; never by hand label Nov 26, 2026
@Birfy

Birfy commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

Lead 评审记录

Head 84dbc54e25b9aafb21c36bcd617b944157c1eaaf · base main 34a80ca5a1acf9d7da821664002fa1e9dba2b215 · 分支 dev/3393-pipeline-doc · Related #3393

(补记:merge-gate.mjs --pr 3398 在 2026-11-26T10:1xZ 判门 3 FAIL,理由就是缺这条评审,现在补齐。)

1. 切片

7 个文件全部是新增文档,+251/−0,没有一行代码改动:

文件 行数
docs/DEV_PIPELINE.md +94
docs/qa-evidence-template.md +51
docs/UI_SURFACES.md +24
docs/UI_SURFACES_OPS.md +41
docs/UI_SURFACES_DISPATCH.md +13
docs/UI_SURFACES_MAP.md +10
docs/ui-surfaces-map.mjs +18

2. 内容核对(不是只看文件存在)

DEV_PIPELINE.md §0 那张「今天由机器强制什么」的表,我逐条对着仓库实际状态核过,没有一句夸大:

  • 「只有 FlyBot required checks 会替你挡住合并,其余全部是证据与提醒」—— 与今天三份 PR 的实测一致(Add silent-revert and audit-merges report-only gates #3397 过了门 1/2 却仍缺 risk:T* 标签,没有任何东西拦它)。
  • 「risk-tier report-only、T3 的 PR 在它这里也绿」—— 与 track: fail the run when the upstream suite or container smoke did not pass #3400 的实测一致(16/16 全绿,同时 risk:T3)。
  • 「T3 人工批准:没有机器校验」—— 现在成立。这条在本 PR 合并后会略有变化(merge-gate 落 main 后 T3 由 risk-approved:t3 标签卡住),需要一行文档更新,属独立切片。
  • §1 的八步顺序与这几天真实发生的时间线一致:triage → 拆切片 → 认领(agent-working + 分支名)→ 开发 → QA 绑 head 出证 → 评审 → 风险确认 → 合。

3. 硬规则

  • 关单措辞:只 Related #3393,无 Fixes / Closes / Resolves。
  • 绑 head:CI 16/16 completed success,汇总门 FlyBot required checks = completed/success(check-run id 139801939077),拉的是 /commits/84dbc54e…/check-runs,同一 head。mergeable: true,mergeable_state: clean。
  • 本地绿 vs CI 绿:本 PR 是纯文档,没有本地测试可跑;CI 16/16 是唯一绿。这一点写清楚,不拿 CI 绿冒充「验过内容」。
  • 一个切片:文档与 UI 边界图,一件事。

4. 一处要留档的规则缺口(不阻断本 PR)

docs/ui-surfaces-map.mjs 是可执行脚本,但落在 docs/ 下;按现行 risk-rules.json,docs/** 属 T0 —— 所以这个 PR 的可执行文件被当成 T0 放过了。这不是本 PR 的错(规则缺口),第 5 阶段必须收口:可执行脚本不许靠落 docs/ 降级。

5. 结论

评审通过。 risk:T0,按现行策略无需人工批;FlyBot required checks 已绿。我这边缺少写权限,合并动作要么你点,要么给 token 由我执行。

本评审不构成验收通过,不声称与 0.3.0 parity。

Related #3393

The user's 2026-11-26 decision drops the risk tier as a merge condition: the
state machine now says the Lead decides and records the head and the reason,
and there is no human approval step. The QA evidence template said the
opposite in its section 5, which is the exact recorded-A / done-B mismatch
the pipeline names as the most common reason to send a pull request back.

Related #3393
@Birfy

Birfy commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

Lead 评审记录 · #3398

Head a1cc8f16ad3c702516217249ee923ef9943f7e92 · 父 84dbc54e25b9aafb21c36bcd617b944157c1eaaf · base main 34a80ca5a1acf9d7da821664002fa1e9dba2b215
评审时间 2026-11-26T11:03Z · 本记录只对上面这个 head 有效,分支再推任何提交即作废。

四查(按 docs/DEV_PIPELINE.md 第 6 步)

查什么 结果
只用 Related #N/Refs #N,无 Fixes/Closes/Resolves 提交信息只含 Related #3393,(fixes|closes|resolves) #N 在提交信息与新增行各 0 命中
结论绑 head SHA 本文绑 a1cc8f16;上一版 591d3fff / 84dbc54e 上的评审与 QA 证据一并作废
一个可评审切片 相对 main 7 files changed, 252 insertions(+),全部在 docs/ 下;tests.yml 与 vendor runtime/ds-bot-upstream/** 各 0 项改动
本地绿 / CI 绿分开报 两者都绿,但仍分开写(见下两节),且 CI 只覆盖 workflow 里真跑的东西

本地结果(本机,不是 CI)

本地提交 591d3fff 与服务端 head a1cc8f16 的 tree 相同(两侧都是 09a4b0c735e0e85bb3783e604863741f81714d0c),两个文件 blob 也一致(docs/DEV_PIPELINE.md = f1fdb22d,docs/qa-evidence-template.md = 28064a43),所以本地跑的分明就是远端那些字节:

$ git diff --stat 84dbc54e HEAD
 docs/DEV_PIPELINE.md         | 11 ++++++-----
 docs/qa-evidence-template.md |  2 +-
 2 files changed, 7 insertions(+), 6 deletions(-)

$ node docs/ui-surfaces-map.mjs
15 features; 26 dirs                     [exit=0]

# 6 份 .md 的相对链接检查
files 6 links 11 broken 0

CI 结果(GitHub Actions,跑在 a1cc8f16 本身)

run 45805727991 · event pull_request · completed / success。
该 head 的 16 个 check 全部 completed/success,含汇总门 FlyBot required checks:total 16, success 16, rollup success(check-runs?filter=latest,11:03Z 读数)。
上一版 head 84dbc54e 的 run 45788012732 同样 success,但按规则不适用于本 head,仅记录。

这一版改了什么(相对 84dbc54e,2 files +7/−6)

  1. DEV_PIPELINE.md 状态机第 7 步:risk:T* 由脚本按 diff 打出;Tier 只作提示,不构成合并闸口 —— T3 也照常往下走,没有人工批准这一步(2026-11-26 起)。
  2. 同文件第 8 步:由 FlyBot Lead 决定并执行合并,合并时写明 head 与理由;Tier 是提示,不是否决项。
  3. 「现状」表原 | T3 人工批准 | 约定 | 没有机器校验 | 换成合并决定那一行。
  4. 评审模板风险行加「(Tier 只作提示,不否决)」。
  5. qa-evidence-template.md:49 原写「没有做 T3 人工批准」,与第 7 步自相矛盾 —— 改为「合并由 Lead 决定」。这是 QA 按 exact head 核出的口径冲突,正是流水线自己列为最常见打回理由的那一类。

风险

node .github/scripts/risk-gate.mjs --pr 3398(本机重跑,report-only):tier T0,252 changed lines in 7 files,7 条路径全 T0(6 份 md + docs/ui-surfaces-map.mjs),exit 0。标签 risk:T0 照这个输出打,不是手判。按 2026-11-26 的裁决,Tier 只作提示、不作否决项。

结论

按上面四查可以合并。不声称 parity,不声称验收通过;没有做产品验收。 合并时我要写清 head a1cc8f16 与理由(Tier 提示级、文档口径与 11-26 裁决对齐)。

Related #3393

@Birfy

Birfy commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

QA 证据(exact head)

Head a1cc8f16ad3c702516217249ee923ef9943f7e92 · 分支 dev/3393-pipeline-doc · PR #3398 · base main 34a80ca5a1acf9d7da821664002fa1e9dba2b215
出证时间 2026-11-26T11:05:41Z · 状态:本地 通过 | CI 16/16 全绿(同一 run,汇总门 11:01:48Z 完成)
本证据只对上面这个 40 位 head 有效。分支再推任何提交,本证据立即作废,需按新 head 重出。

1. 绑定:我核的字节就是这个 head(不是作者的工作副本)

$ curl -s .../git/commits/a1cc8f16ad3c702516217249ee923ef9943f7e92
commit a1cc8f16ad3c702516217249ee923ef9943f7e92
tree   09a4b0c735e0e85bb3783e604863741f81714d0c
parent 84dbc54e25b9aafb21c36bcd617b944157c1eaaf

$ curl -sSLo h.tgz .../tar.gz/a1cc8f16ad3c702516217249ee923ef9943f7e92
$ tar xzf h.tgz -C t --strip-components=1 && cd t
$ git init -q . && git add -A -f . && git write-tree
09a4b0c735e0e85bb3783e604863741f81714d0c      # = commit.tree,整树一致,不是抽样

$ git hash-object docs/qa-evidence-template.md docs/DEV_PIPELINE.md docs/ui-surfaces-map.mjs docs/UI_SURFACES_MAP.md
28064a43c23a92cc33e054d08f51def2434a47c2   (2172 B)
f1fdb22dacd6538c6cb99b3854c052d393a57796   (5038 B)
f6f9649db7b7159843ae3a0fad170fe9da02789d   (18 行)
32074c2b3254923e5b20a155acdfef29aa6f1fa2
$ sha256sum docs/qa-evidence-template.md docs/DEV_PIPELINE.md
c9656530e0aae8bd8862d31c9fdb4e1815624f98665e10b29af5e518c21d46ae
f0887c565493930158af9fcb69447fa54bfc61d23cfc53e39e6e764e14dfbd25

git add -A -f 里的 -f 不能省:.gitignore 会漏掉 testdata 下的两个 katex 字体,漏了 write-tree 就不等于 commit.tree。
改动面:7 文件 +252 / −0,全在 docs/ 下;tests.yml 0 项、vendor runtime/ds-bot-upstream/** 0 项;parent 只有一个(84dbc54e)。

2. 本地结果(本机,不是 CI)

命令 结果
node docs/ui-surfaces-map.mjs rc=0,首行 15 features; 26 dirs,输出 27 行
同一份输出的 26 行目录逐个归类 13 python-only + 9 shared + 4 aliased = 26,与 UI_SURFACES_MAP.md 写的数一致;4 个 aliased 恰为 contacts→social、look→settings、onboarding→settings、settings→connectors,model-api,settings
7 个改动文件里 6 份 .md 的相对链接 files 6 / links checked 11 / broken 0
提交信息 + 252 行新增里的 `(fixes closes
grep -rn "T3 人工批准" docs/ 0 命中(旧口径已清)
模板结构 grep "^### " docs/qa-evidence-template.md 第 1–5 节齐全,占位符 {{…}} 在,第 5 节标题为「本证据不构成验收通过」
node --check docs/ui-surfaces-map.mjs ok
离线判级(risk-tier.mjs + .github/agent/risk-rules.json,无网络) risk-tier: T0; basis: 7 个 docs 文件全 T0,252 行 / 7 文件,why 为空

3. CI 结果(拉的是 /commits/a1cc8f16…/check-runs)

全部 16 条来自同一个 run:45805727991(FlyBot CI / tests.yml / 事件 pull_request / attempt 1 / head a1cc8f16… / created 10:54:57Z / updated 11:01:49Z / run 结论 success)。

check 结论 job
FlyBot required checks success(11:01:48Z) 139863967031
browser / screenshots success 139860339568
Management API · Python 3.11 success 139860339127
Management API · Python 3.13 success 139860339146
Web and compose planner success 139860339032
provenance / provenance success 139860339665
provenance / bot-social-source-tests success 139860339989
provenance / flybot-social-plugin-tests success 139860339597
runtime-image / Image recipe contract tests success 139860339602
runtime-image / Build and smoke under the manager contract success 139860339734
social-host / Façade and ledger unit tests success 139860339675
social-host / Social plugin on the pinned DS-Bot host success 139860339318
upstream / Pin and vendor tree success 139860339486
upstream / Container startup smoke success 139860482698
upstream / Upstream suite · Node 22 · DSH from pin success 139860482796
upstream / Upstream suite · Node 24 · DSH from pin success 139860482719

中间态照实记:11:02:1xZ 第一次拉该端点时是 completed 15 success + queued 1(FlyBot required checks 在排队);11:03 再拉同一端点为 16 / success 16。两次是同一个 run(attempt 1、updated_at 11:01:49Z),所以前一次的 queued 是列表延迟读到的旧值,不是重跑,也不是我漏看了失败。

4. 没做到 / 没覆盖到的

  • 这是一份纯文档切片:没有产品代码、没有单测可跑。我没有做产品验收,也没有声明与 0.3.0 parity。
  • 链接检查只证明目标文件在同一树内存在;锚点(#…)与「链接文字是否仍描述正确」未验。
  • docs/ 全目录仍有 4 条断链(61 份 md / 145 条链接 / broken 4):AGENT_CONVERSATIONS.md → AGENT_RUNTIME.md、MANAGEMENT_API.md → RUNTIME_KEYS.md(2 处)、MANAGEMENT_API.md → AGENT_RUNTIME.md。它们在 main 上就存在、不在本次 diff 里,我未修。
  • risk:T0 与我的离线判级一致(T0、252 行、7 文件),但我只能证明「标签与规则对这份 diff 的结论一致」,不能证明它是由脚本打上的:risk-gate 没接进任何 workflow(.github/workflows/ 里 grep -rln "merge-gate\|risk-gate" 0 命中),标签来源无法从 API 追溯。
  • 这个 head 是服务端(connector)提交:tree 09a4b0c7… 与本地 591d3fff 相同、blob 也相同,但我不把它当作「作者本地提交已推送」的证据 —— 提交者身份与本地提交不同。
  • 措辞质量(读起来是否清楚)属评审,我只核了「与 2026-11-26 裁决是否一致」这一项。
  • 合并动作我未参与、也无法用只读权限验证;合并后若 rebase 或补提交,本证据作废。

5. 本证据不构成验收通过

这是我核到的「这个 head 上发生了什么」,不是「这个 PR 可以合并」:没有做产品验收,没有声明与 0.3.0 parity;合并由 Lead 决定。合并后若 rebase 或补提交,本证据作废。

Related #3393

@Birfy

Birfy commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

merge-gate 读数(exact head)

用 #3402 分支上的 .github/scripts/merge-gate.mjs(只读,不合并/不打标签/不发评论)对本 PR 的当前 head 实跑,不是转述:

$ node .github/scripts/merge-gate.mjs --pr 3398
merge-gate (report only): PR #3398 head a1cc8f16ad3c702516217249ee923ef9943f7e92 -> PASS (4/4 gates)
  1. head and state        PASS  open, not a draft, mergeable, base main, head a1cc8f16ad
  2. required checks       PASS  15 required checks and FlyBot required checks completed success on a1cc8f16ad
  3. evidence on this head PASS  QA #7190287195; review #7190205197 - both name a1cc8f16ad
  4. risk (advisory)       PASS  risk:T0 - advisory only, merge is Lead's call
rc=0
  • 门 2 读的是 /commits/a1cc8f16.../check-runs?filter=latest,16 条 completed/success(含汇总门)。
  • 门 3 命中的就是我此前代发的 QA 证据 #7190287195 与评审记录 #7190205197,两条都绑 a1cc8f16。
  • 门 4 的 risk:T0 是 risk-gate.mjs --pr 3398 按 diff 打出的标签,脚本只读不判。

这个读数只对 a1cc8f16ad3c702516217249ee923ef9943f7e92 成立:分支再推提交,门 2/3 会立刻变红,与旧证据一起作废。

合并不由这个脚本做,也不构成验收通过;合并由 FlyBot Lead 决定并记录理由。

@Birfy

Birfy commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator Author

Lead 合并决定(绑定 head a1cc8f16ad3c702516217249ee923ef9943f7e92)

  • 切片:docs/DEV_PIPELINE.md 把 T3「需人工批准」改成「Tier 仅提示,合并由 FlyBot Lead 决定并记录理由」,2 文件 +7/−6,无代码改动。
  • 证据:QA #issuecomment-7190287195、评审 #issuecomment-7190205197 均绑本 head;merge-gate --pr 3398 实跑 4/4 PASS(门 1 head a1cc8f16…、门 2 FlyBot required checks 在该 head 上 success、门 3 两份评论、门 4 risk:T0 仅提示);CI run 45805727991 16/16 success。
  • risk:T0 为提示级信息,不是合并闸口(用户 11-26 指示)。
  • 决定:合并(squash)。理由:纯文档切片,状态机措辞与 11-26 决定一致,证据齐且都绑同一 head,无代码风险。
  • 本轮复核:远端 dev/3393-pipeline-doc 仍为 a1cc8f16,main 仍为 34a80ca5,PR 未合并。
  • 阻塞:main 上有 ruleset main merge queue(id 25173372,merge_method SQUASH,required check FlyBot required checks),直接合并返回 405「Changes must be made through the merge queue」;需经 merge queue 入队(GraphQL 动作,REST 无)。

@Birfy
Birfy added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit afbfae9 Nov 27, 2026
16 checks passed
@Birfy
Birfy deleted the dev/3393-pipeline-doc branch November 27, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:T0 Risk tier T0 (docs only), set by the controller from the diff; never by hand

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant